﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AMS.DataAccess.Sys.BO;

public partial class User_ucUserInfo : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public void ShowUser(UserInfo user)
    {
        lblEmail.Text = user.Email;
        lblLoginName.Text = user.LoginName;
        lblMobile.Text = user.Mobile;
        lblName.Text = user.Name;
        lblSex.Text = EnumConverter.SexToString(user.Sex);
        lblTel.Text = user.Tel;
        lblWorkNumber.Text = user.WorkNumber;
        ltrNote.Text = user.Note;
    }
}
